package service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import dao.NoteDao;
import dao.NoteTypeDao;
import entity.Comment;
import entity.Note;
import entity.NoteType;
import service.NoteService;
import service.NoteTypeService;
@Service("noteTypeService")
public class NoteTypeServiceImpl implements NoteTypeService {
@Resource
private NoteTypeDao noteTypeDao;

@Override
public NoteType getNoteTypeByTypeId(int typeId) {
	// TODO Auto-generated method stub
	return noteTypeDao.getNoteTypeById(typeId);
}

@Override
public List<NoteType> selectAllNoteType() {
	// TODO Auto-generated method stub
	return noteTypeDao.selectAllNoteType();
}
	

}
